import './ogLaVp_data/jquery'
import './ogLaVp_data/requestAnimationFrame'
import './ogLaVp_data/jquery_002'
import './ogLaVp_data/stopExecutionOnTimeout-6c99970ade81e43be51fa877be0f7600'
export function fly(left) {
    // document.querySelector('.buy').addEventListener('click', function (event) {
        const offset = $('#goods-count').offset()
        const flyer = $('<img class="u-flyer" src="../../../static/new/yuanquan.png" style="width:20px;height:20px;" />')
        // console.log(flyer)
        // console.log(left)
        flyer.fly({
            start: {
                // left: event.pageX,
                // top: event.pageY
                left: left,
                // left: 250,
                top: 600
            },
            end: {
                // left: offset.left+70,
                // top: offset.top,
                left: 50,
                top: 700,
                width: -20,
                height: -20
            }
        });
    // })
}